package com.fansz.FanszAPI.common.unifystructre;

public class UnifyResponse<T>{

	private String code;
	private String info;
	private long afterCount;
	private T content;

	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public T getContent() {
		return content;
	}
	public void setContent(T content) {
		this.content = content;
	}

	public long getAfterCount() {
		return afterCount;
	}

	public void setAfterCount(long afterCount) {
		this.afterCount = afterCount;
	}

	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("{code:");
		sb.append(this.code);
		sb.append(",info:");
		sb.append(this.info);
		sb.append(",afterCount:");
		sb.append(this.afterCount);
		if (this.content != null)
		{
			sb.append(",content:");
			sb.append(this.content.toString());
		}
		sb.append("}");

		return sb.toString();
	}
	
}
